{extend name="$_tpl_public_layout_ace"/}


{block name="breadcrumb"}
<ul class="breadcrumb">
	<li><i class="fa fa-home home-icon"></i><a href="{:url('admin/index/index')}">{$configInfo['site_title']}</a></li>
	<li><a href="{:url('seatsel_manage/userVoucher/index')}">{$sideName}</a></li>
</ul>
{/block}


{block name="pageheader"}
<h1>
	{$sideName}
</h1>
{/block}


{block name="content"}
<form class="">
	<table class="table table-striped table-bordered table-hover dataTables-table">
		<thead>
			<tr>
				<th width="76">序号</th>
				<th width="260">用户信息</th>
				<th>名称</th>
				<th width="240">面额</th>
				<th width="146">创建时间</th>
				<th width="60">状态</th>
				<th width="120">操作</th>
			</tr>
		</thead>
		<tbody>
			{volist name="list" id="vo"}
			<tr>
				<td>{$i}</td>
				<td>
					<div class="media-box media-box-appmsg media-user-box border-dotted-secondary">
						<div class="media-box-hd">
							<img class="media-box-thumb" src="{$userInfo['avatar']}" onerror="Javascript:this.src='/themes/public/images/noimg.gif';" />
						</div>
						<div class="media-box-bd">
							<div class="infobox-username"><a href="{:url('weipoll/manageUser/index', ['kid'=>$kid, 'id'=>$vo['uid']])}" target="_blank">{$vo['username']}</a></div>
							<div class="infobox-desc">uid：{$vo['uid']}</div>
							<div class="infobox-desc">论坛uid：{$vo['pwuid']}</div>
							<div class="infobox-desc">省市：{$userInfo['province']}|{$userInfo['city']}</div>
							<div class="infobox-desc">性别：{$userInfo['gender_show']}</div>
							<div class="text-gray-600">{$vo['province']} {$vo['city']}</div>
							<div class="text-olive">姓名：{$vo['realname']}</div>
							<div class="text-olive">手机号：{$vo['mobile']}</div>
							<div class="text-gray-600">openid</div>
							<div class="text-gray-600">{$vo['openid']}</div>
							<div class="text-gray-600">unionid</div>
							<div class="text-gray-600">{$vo['unionid']}</div>
						</div>
					</div>
				</td>
				<td>{$vo['voucher_name']}</td>
				<td>
					<div>{$vo['real_amount']}</div>
					<div class="mt5">过期时间：{$vo['expire_time_show']}</div>
				</td>
				<td>{$vo['create_time_show']}</td>
				<td>{$vo['status_show']}</td>
				<td>
					<a href="{:url('seatsel_manage/userVoucher/doDelete', ['id'=>$vo['id']])}" class="btn btn-danger btn-xs J_layerConfirm" data-tip="确认删除吗？">删除</a>
				</td>
			</tr>
			{/volist}
		</tbody>
	</table>
	<div class="dataTables-controll">
		<button type="submit" class="btn btn-success btn-sm J_ajaxSubmit">提交排序</button>
	</div>
</form>
<div class="dataTables-pages">{$pageShow}</div>
{/block}